package com.river.springbootdemo.practice;

import java.text.SimpleDateFormat;
import java.util.Date;

/**
 * @author chenxingyu
 * @date 2019/11/21 15:29
 */
public class DateWeek {

    public static void main(String[] args) {
        SimpleDateFormat format = new SimpleDateFormat("MM月dd日(EEEE)  '%s'-HH:mm");
        String format1 = format.format(new Date());
        String format2 = String.format(format1, "12:00");
        System.out.println(format2);
    }
}
